package com.example.service;

import com.example.entity.PageResult;
import com.example.entity.QueryPageBean;
import com.example.pojo.GoodsCategory;

import java.util.List;

public interface CategoryAdminService {
    List<GoodsCategory> findall();

    PageResult findpage(QueryPageBean queryPageBean);

    void add(GoodsCategory goodsCategory);

    void deleteById(Integer id);

    void edit(GoodsCategory goodsCategory);

    GoodsCategory findById(Integer id);
}
